#!/bin/bash
echo "iSCSI Connection Status Check"
echo "=============================="
echo ""

echo "1. iSCSI Session Details:"
iscsiadm -m session -P 3
echo ""

echo "2. Block Devices:"
lsblk
echo ""

echo "3. iSCSI Node Information:"
iscsiadm -m node